{php include pubTemplate("header")}

<div class="container">

    <nav aria-label="breadcrumb">
        <ol class="breadcrumb">
            <li class="breadcrumb-item"><a href="{SITE_URL}">首页</a></li>
            <li class="breadcrumb-item"><a href="{tsUrl('group')}">{$TS_APP['appname']}</a></li>
            <li class="breadcrumb-item active" aria-current="page">{$strTag[tagname]}</li>
        </ol>
    </nav>



    <div class="row">

        <div class="col-md-8">
            <div class="card">
                <div class="card-body">
                    <h1 class="h3 fw400">{$strTag[tagname]}</h1>
                </div>
            </div>


            <div class="card">
                <div class="card-header">{$strTag[tagname]}相关的小组</div>
                <div class="card-body">

                    <div class="facelist">
                        <ul>
                            {loop $arrGroup $key $item}
                            <li><a href="{tsUrl('group','show',array('id'=>$item['groupid']))}"><img class="rounded" src="{$item['photo']}" width="48" alt="{$item['groupname']}" /></a>
                                <p class="title-cut fs12 mt-1"><a class="c9" href="{tsUrl('group','show',array('id'=>$item['groupid']))}">{$item['groupname']}</a></p>
                            </li>
                            {/loop}
                        </ul>
                    </div>
                </div>
            </div>




        </div>

        <div class="col-md-4">

            <div class="card">
                <div class="card-header">热门标签</div>
                <div class="card-body">
                    {loop $arrTag $key $item}
                    <a class="badge badge-secondary mr-2 mb-2 fw300" href="{tsUrl('group','tag',array('id'=>urlencode($item[tagname])))}">{$item[tagname]}</a>
                    {/loop}
                    <a class="" href="{tsUrl('group','tags')}">更多...</a>
                </div>
            </div>

            <div class="clear"></div>
            <!--广告位-->
            {php doAction('gobad','300')}

        </div>
    </div>
</div>


{php include pubTemplate("footer")}